﻿@{Htss.Platform.Web.HtmlHelper Html = new Htss.Platform.Web.HtmlHelper();}
<!doctype html>
<html>
<head>
    <meta charset="utf-8" />
    <title>我的有云-@DreamBox.DAL.SiteConfig.Config.SiteName-@DreamBox.DAL.SiteConfig.Config.Title</title>
    <meta name="description" content="@DreamBox.DAL.SiteConfig.Config.Description" />
    <meta name="keywords" content="@DreamBox.DAL.SiteConfig.Config.KeyWords" />
    <script type="text/javascript" src="/tools/js/jquery-2.1.1.min.js"></script>
    <link href="/style/metro/css/metro-bootstrap.css" rel="stylesheet" />
    <script src="/style/metro/css/metro.min.js"></script>
</head>
<body class="metro">
    <div class="container">
        @Html.Action("", "header")
        <div class="grid">
            <div class="row offset3">
                <div class="span3">
                    <nav class="sidebar light">
                        <ul class="">
                            <li class="nav-header">
                                管理选项
                            </li>
                            <li class=" active">
                                <a href="/user/posts">我的有云</a>
                            </li>
                            <li>
                                <a href="/user/reply">我回复过的</a>
                            </li>
                            <li>
                                <a href="/user/attention">我关注的</a>
                            </li>
                        </ul>
                    </nav>
                </div>
                <div class="span9">
                    <table class="table table-condensed">
                        <tbody>
                            @foreach (Htss.Platform.Data.DbRow row in Html.ViewDbTable["ListData"].Rows)
                            {
                                <tr>
                                    <td>
                                        <a href="/posts/read/@(row["PostsID"])" title="" class="navbar-link" target="_blank">@(row["Title"].ToString())</a>
                                    </td>
                                    <td class="text-info">
                                        发布时间:@(row["PostDate"])&nbsp;&nbsp;浏览:@(row["BrowseCount"])&nbsp;&nbsp;(+1):@(row["Plus"])&nbsp;&nbsp;回帖数:@(row["ReplyCount"])
                                    </td>
                                </tr>
                            }
                        </tbody>
                    </table>
                    <div class="span9">
                        @Html.ViewData["ListPage"]
                    </div>
                </div>
            </div>
        </div>
        @Html.Action("", "footer")
    </div>
</body>
</html> 